﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace CPPEI.Coolzon.Event.NCL
{
    /// <summary>
    /// 显示激光笔
    /// </summary>
    public class NCLShowLaserPointerEvent : NCLEvent
    {
        /// <summary>
        /// 是否显示
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 场景名称
        /// </summary>
        public string SceneName { get; set; }

        /// <summary>
        /// 颜色
        /// </summary>
        public int Color { get; set; }

        /// <summary>
        /// 位置X
        /// </summary>
        public double DestPointX { get; set; }

        /// <summary>
        /// 位置Y
        /// </summary>
        public double DestPointY { get; set; }

        /// <summary>
        /// 移动持续时间
        /// </summary>
        public double Duration { get; set; }

        /// <summary>
        /// 半径
        /// </summary>
        public double DestRadius { get; set; }

        public NCLShowLaserPointerEvent(bool isEnable,
            string sceneName,
            int color,
            double destPointX,
            double destPointY,
            double destRadius,
            double duration)
        {
            IsEnable = isEnable;
            SceneName = sceneName;
            Color = color;
            DestPointX = destPointX;
            DestPointY = destPointY;
            this.Duration = duration;
            this.DestRadius = destRadius;
        }
    }
}
